Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(convert): handle file names with multiple dots #674

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

luytena
Copy link
Contributor

@luytena luytena commented Oct 17, 2023

Ensure files with names containing dots in addition to the dot before the extension are handled correctly. The converted file name should correspond to the original file name replacing only the extension.

@luytena luytena marked this pull request as draft October 17, 2023 09:13
@luytena luytena force-pushed the fix-convert-filename branch 4 times, most recently from ef0da69 to 3dabdd1 Compare October 23, 2023 07:41
Ensure files with names containing dots in addition
to the dot before the extension are handled correctly.
The converted file name should correspond to the
original file name replacing only the extension.
@luytena luytena force-pushed the fix-convert-filename branch from 3dabdd1 to 3ae90f1 Compare October 23, 2023 07:47
@luytena luytena marked this pull request as ready for review October 23, 2023 07:47
@luytena luytena requested a review from StephanH90 October 23, 2023 07:47
@luytena
Copy link
Contributor Author

luytena commented Oct 23, 2023

Due to issues with my current setup, I was unable to test the fix (besides through the test). @StephanH90 could you please take a moment to test the conversion to PDF for a file containing multiple dots?

Copy link
Contributor

@StephanH90 StephanH90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@StephanH90
Copy link
Contributor

I checked it out on my computer and the conversion works fine with the new testfile: 2023.test.test.docx-template.docx

@luytena
Copy link
Contributor Author

luytena commented Oct 23, 2023

Awesome, thanks!

@luytena luytena merged commit aa8b2d8 into adfinis:main Oct 23, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants